/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.sales.hancadsa.client.presenter;

import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.KeyPressEvent;
import com.gwtplatform.mvp.client.UiHandlers;

/**
 *
 * @author v
 */
public interface HanCadSAUiHandler extends UiHandlers {

//    void onPriceKeyPress(KeyPressEvent event);
    void cleaning();

    void onClickAddItem(ClickEvent event);

    void onClickCancelItem(ClickEvent event);

    void addRow(Object value, int row, int cell);

    void editRecorg(int row);

    void onClickfinishedSales(ClickEvent event);

    void onClickCancel(ClickEvent event);

    void onClickNew(ClickEvent event);

    void calculateSale();

    void clear();

}
